﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Functions/Job/job.master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="HRDexCapstoneProject.Functions.Job.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainPage" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    DataKeyNames="JobID" DataSourceID="jobList">
    <Columns>
        <asp:BoundField DataField="JobID" HeaderText="JobID" InsertVisible="False" 
            ReadOnly="True" SortExpression="JobID" />
        <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
        <asp:BoundField DataField="DatePosted" HeaderText="DatePosted" 
            SortExpression="DatePosted" />
        <asp:BoundField DataField="JobType" HeaderText="JobType" 
            SortExpression="JobType" />
    </Columns>
</asp:GridView>
<asp:SqlDataSource ID="jobList" runat="server" 
    ConnectionString="<%$ ConnectionStrings:HRdexDBConnectionString %>" 
    SelectCommand="SELECT JobID, Title, attachment, DatePosted, JobType FROM catJobTitle">
</asp:SqlDataSource>
</asp:Content>
